package com.nineclock.api.system.controller;

import com.nineclock.common.entity.Result;
import com.nineclock.dto.SysRegisterDTO;
import com.nineclock.dto.SysUserDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "用户相关服务")
public interface SysUserControllerApi {
    @ApiOperation("根据用户名或手机号查询用户信息")
    public Result<SysUserDTO> findUserInfo(String username);

    @ApiOperation("注册用户")
    public Result<Long> registerUser(SysRegisterDTO sysRegisterDTO);
}
